package me.zhengjie.modules.system.service.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

@Data
public class LoginUserIdentityRespDTO {

    @ApiModelProperty(value = "用户身份 0:普通用户，1：admin，2：合伙人主号 3：合伙人子号,4:渠道管理员")
    private Integer userIdentity;

    @ApiModelProperty(value = "登录用户ID")
    private Long userId;

    @ApiModelProperty(value = "合伙人ID")
    private Long partnerId;

    @ApiModelProperty(value = "登录用户手机号")
    private String mobile;

    @ApiModelProperty(value = "渠道编码")
    private String channelCode;


    @Getter
    @AllArgsConstructor
    public enum UserIdentityEnum{
        Normal(0),
        Admin(1),
        Manager(2),
        SubManager(3),
        ChannelManager(4),
        ;
        private Integer userIdentity;
    }
}